package com.ymatou.iapi.settlement.parameter;

import java.math.BigDecimal;

public class AdRateProductInfo {

	/**
	 * 广告ID
	 */
	private int adId;

	/**
	* 广告费率ID
	*/
	private String adCostId;

	/**
	 * 商品ID
	 */
	private String productId;

	/**
	 * 广告费率
	 */
	private BigDecimal adRate;

	/**
	 * 单商品广告费用上限
	 */
	private BigDecimal adCostMax;

	public String getAdCostId() {
		return adCostId;
	}

	public void setAdCostId(String adCostId) {
		this.adCostId = adCostId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public BigDecimal getAdRate() {
		return adRate;
	}

	public void setAdRate(BigDecimal adRate) {
		this.adRate = adRate.setScale(4, BigDecimal.ROUND_DOWN);
	}

	public BigDecimal getAdCostMax() {
		return adCostMax;
	}

	public void setAdCostMax(BigDecimal adCostMax) {
		this.adCostMax = adCostMax;
	}

	public int getAdId() {
		return adId;
	}

	public void setAdId(int adId) {
		this.adId = adId;
	}

}
